package com.wangzha.common.enums;

public enum TaskEnum {

    SCRIPT_TASK(10001, "脚本任务"),
    STOP_TASK(90001, "停止任务"),
    SYN_SCRIPT(10003, "同步脚本"),
    PUBLISH_PRODUCT(10004, "发布作品");

    private int code;
    private String name;
    TaskEnum(int code, String name){
        this.code=code;
        this.name=name;
    }
    public int getCode(){
        return code;
    }
    public String getName(){
        return name;
    }
}